package com.xdjmall.entity;
import java.time.LocalDate;

//分类
public class Category {
    //分类id
    private Integer categoryId;
    //分类级别(1-一级分类 2-二级分类 3-三级分类)
    private Integer categoryLevel;
    //父分类id
    private Integer parentId;
    //分类名称
    private String categoryName;
    //排序值(字段越大越靠前)
    private Integer categoryRank;
    //删除标识字段(0-未删除 1-已删除)
    private Boolean isDeleted;
    //创建时间
    private LocalDate createTime;
    //创建者id
    private Integer createUser;
    //修改时间
    private LocalDate updateTime;
    //修改者id
    private Integer updateUser;
    
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public Integer getCategoryLevel() {
		return categoryLevel;
	}
	public void setCategoryLevel(Integer categoryLevel) {
		this.categoryLevel = categoryLevel;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public Integer getCategoryRank() {
		return categoryRank;
	}
	public void setCategoryRank(Integer categoryRank) {
		this.categoryRank = categoryRank;
	}
	public Boolean getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}
	public LocalDate getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDate createTime) {
		this.createTime = createTime;
	}
	public Integer getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}
	public LocalDate getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(LocalDate updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}
	@Override
	public String toString() {
		return "Category [categoryId=" + categoryId + ", categoryLevel=" + categoryLevel + ", parentId=" + parentId
				+ ", categoryName=" + categoryName + ", categoryRank=" + categoryRank + ", isDeleted=" + isDeleted
				+ ", createTime=" + createTime + ", createUser=" + createUser + ", updateTime=" + updateTime
				+ ", updateUser=" + updateUser + "]";
	}
}